package com.attendance.service.impl;

import com.attendance.model.Biz.BizDepartment;
import com.attendance.model.Form.DepartmentForm;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.attendance.mapper.DepartmentMapper;
import com.attendance.model.Department;
import com.attendance.service.IDepartmentService;
import com.baomidou.framework.service.impl.SuperServiceImpl;

import java.util.List;

/**
 *
 * Department 表数据服务层接口实现类
 *
 */
@Service
public class DepartmentServiceImpl extends SuperServiceImpl<DepartmentMapper, Department> implements IDepartmentService {

    @Autowired
    private DepartmentMapper departmentMapper;

    @Override
    public List<BizDepartment> getAll(DepartmentForm departmentForm){
        return this.departmentMapper.getAll(departmentForm);
    }
}